package com.yanqu.road.server.gameplayer.module.activity.horserun.event;

import com.yanqu.road.pb.activity.HorseRunProto;

public class HorseRunDealEventArg {
    public int chooseOneArg = -1;

    public int exploreOneArg = -1;

    public int cardEventArg = -1;

    public HorseRunDealEventArg(HorseRunProto.HorseRunDealEventArg arg) {
        if (arg.hasCardEventArg()){
            this.cardEventArg = arg.getCardEventArg();
        }
        if (arg.hasTwoChooseOne()){
            this.chooseOneArg = arg.getTwoChooseOne();
        }
        if (arg.hasExploreEventArg()){
            this.exploreOneArg = arg.getExploreEventArg();
        }
    }

    public int getChooseOneArg() {
        return chooseOneArg;
    }

    public int getExploreOneArg() {
        return exploreOneArg;
    }

    public int getCardEventArg() {
        return cardEventArg;
    }
}
